import java.util.Random;

public class pp33
{
   public static void main(String []args)
   {
     Random generator = new Random();
     int num1;
     int num2;
     int num3;
     int num4;
     int num5;

     num1 = generator.nextInt(8);
     num2 = generator.nextInt(8);
     num3 = generator.nextInt(8);
     num4 = generator.nextInt(556) + 100;
     num5 = generator.nextInt(9000) + 1000;

     System.out.println("The phone number is "+num1+""+num2+""+num3+"-"+num4+"-"+num5+"");
    }
} 
